<template>
  <div class="search">
    <div class="search-input" @click="bindSearchTap">
      <span>输入您要搜索的理发师</span>
    </div>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        query: ''
      }
    },
    methods: {
      bindSearchTap() {
        wx.navigateTo({
          url: '/pages/search/main'
        })
      }
    }
  }
</script>
<style scoped>
  .search {
    padding-top: 0.1rem;
    height: 0.9rem;
    width: 100%;
    background-color: white;
  }

  .search-input {
    height: 0.58rem;
    background: rgba(248,248,248,1);
    border-radius: 0.5rem;
    margin: 0 0.2rem;
  }

  .search-input span{
    width: 2.85rem;
    height: 0.27rem;
    font-size: 0.28rem;
    /*font-family: PingFang-SC-Regular;*/
    color: rgba(133,134,151,1);
    line-height: 0.58rem;
    margin-left: 0.5rem;
  }
</style>


